package com.td.module.system.controller.admin.growth.vo.type;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* 生长模型字典 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class GrowthModuleTypeBaseVO {

    @ApiModelProperty(value = "模型名称", required = true, example = "李四")
    @NotNull(message = "模型名称不能为空")
    private String name;

    @ApiModelProperty(value = "模型类型", required = true, example = "2")
    @NotNull(message = "模型类型不能为空")
    private String type;

    @ApiModelProperty(value = "状态（0正常 1停用）", required = true, example = "1")
    @NotNull(message = "状态（0正常 1停用）不能为空")
    private Integer status;

    @ApiModelProperty(value = "备注", example = "随便")
    private String remark;

}
